﻿using HBase;
using System;
using System.Collections.Generic;

namespace hCommand.dto {
    public class DictRes :CacheData, ICloneable {
        private bool del = false;
        public void delete() {
            del = true;
        }

       public long order() {
            return id  ;
        
        }

        public bool isDelete() {
            return del;
        }
        public long id { get; set; }
        public long pId { get; set; }
        public int value { get; set; }
        public int sort { get; set; }
        public string label { get; set; }
        public int type { get; set; }

        public string dType { get; set; }
        public List<DictRes> children = new List<DictRes>();

        public  String getId() {
            return id+"";
        }

        public object Clone() {
            return this.MemberwiseClone();
        }

        public void keepOld(CacheData old)
        {
            
        }
    }
}